Part Number Hot Search : 
BCM20 CY7C4 MMSZ5 2SD772A 7807Z AK8778 ZL60005 L3NM60N
Product Description
Full Text Search
 

To Download Z86U18 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 PRELIMINARY PRODUCT SPECIFICATION
1
Z86U18
USB DEVICE CONTROLLER WITH CMOS Z86K15 MCU
FEATURES
Device Z86U18
s
1
ROM (KB) 4
RAM (Bytes) 188
I/O Lines 32
Speed (MHz) 6
s s
Intergrated USB Transceiver @ 1.5 Mb/sec For Use In A Variety of Applications Including Keyboards and Game Controllers Programmable 8-Bit Counter/Timer, Programmable Prescaler with 6-Bit
USB Serial Interface Engine, Transceiver, and MCU Intergrated for USB Function Controller +4.0V to +5.5V Operating Range Low Power Consumption: 60 mW @ 6 MHz
s
s s s
s
Five Vectored, Priority Interrupts from Five Different Sources On-Chip Oscillator, Which Accepts A Crystal, Ceramic Resonator, LC or External Clock Drive (all clock speeds @ 6 MHz) Low System EMI Emission HALT/STOP Modes
s
Digital Inputs CMOS Levels with Internal Pull-Up Resistors Four Direct Connect LED Drive Ports Power-On Reset (POR), Hardware Watch-Dog Timer (WDT)
s s
s s
GENERAL DESCRIPTION
The Z86U18 USB Controller is a member of the Z8 MCU family. The Z86U18 is characterized by a flexible I/O scheme, an efficient register architecture, and a number of ancillary features. It contains a dedicated USB interface (transceiver and SIE). For applications demanding powerful I/O capabilities, the Z86U18 (40- and 44-pin versions) provides 32 pins dedicated to application input and output. These lines are grouped into four ports, each port consists of eight lines and are configurable under software control to provide timing, status signals, and serial or parallel I/O ports. It also has 2 pins to connect directly to the USB cable. To unburden the system from coping with real-time tasks, such as counting/timing and I/O data communications, the Z86U18 offers an on-chip counter/timer with a large number of user-selectable modes. The Z86U18 achieves low EMI by means of several circuit implementations in the output drivers and clock circuitry of the device. With fast execution, efficient use of memory, sophisticated interrupt, input/output bit-manipulation capabilities, and easy hardware/software system expansion, along with low cost and low power consumption, the Z86U18 meets the needs of a variety of sophisticated applications (Figure 1: Functional Block Diagram) Notes: All signals with a preceding front slash, "/", are active Low. For example, B//W (WORD is active Low); /B/W (BYTE is active Low, only).
DS97KEY0102
PRELIMINARY
1
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
GENERAL DESCRIPTION (Continued)
Power connections follow conventional descriptions below: Connection Power Ground Circuit VCC GND Device VDD VSS 2. Watch-Dog Timer (WDT): WDT is also driven by the system clock and subject to same tolerance. The WDT can be programmed for time out value of: WDT = POR/2 3. EMI, 801-2 and 801-4 Compliance: When used with good engineering practice, this device should meet Class B FCC with at least 10 dB of margin and comply with the 801-2 group 4 air discharge. It shall meet 8014 EFT requirements in a system. 4. XTAL: Drive to 3-pin ceramic resonator (@ 6 MHz). 5. XTAL In: From ceramic resonator or crystal.
This device is based on the Z86K15 device with the following changes or modifications: 1. Power-On Reset (POR): POR timing is a function of the system clock. POR = (32 * 216)/f = .098 POR is in seconds and frequency in Hz. It may need a programmable timer for warm reset (USB reset).
XTAL1
VCC Output 4 3.3 V VR Input 4 VCC GND Port 3 VUSB D+ DUSB SIE and Trans ALU POR Flags Counter/ Timers Register Pointer Interrupt Control Register File 208 x 8-Bytes Port 2 Port 0 Port 1 4 I/O (Bit Programmable) 8 Open-Drain Output 8 Input
Machine Timing & Inst. Control WDT
Program Memory 4 KB ROM
Program Counter
Open-Drain Output
Figure 1. Z86U18 Functional Block Diagram
2
PRELIMINARY
XTAL2
DS97KEY0102
Zilog
Z86U18 USB Device Controller with CMOS Z86K15 MCU
USB FUNCTIONAL BLOCK DESCRIPTION
The USB portion of the chip is divided into two areas, the transceiver and the Serial Interface Engine (SIE). The transceiver handles incoming differential signals and "single ended zero" (SE0). It also converts output data in digital form to differential drive at the proper levels. The SIE does all other processing on incoming and out going data. This includes signal recovery timing, bit stuffing, validity checking, data sequencing, and handshaking to the host. Data flow into and out of the MCU portions is processed through eight registers mapped into Expanded Register File Memory at locations 010 to 017. The USB SIE handles two endpoints (control at Endpoint 0 and data into the host from Endpoint 1). All communications are at the 1.5 Mb/sec HID class data rate. Future devices will handle the full 12 Mb/sec data rate.
1
Preamble sent at full speed
Hub enables low speed port outputs
Token sent at low speed
Hub enables low speed port outputs
SYNC
PID
Hub Setup
SYNC
PID
ENDP . . .
EOP
Data packet sent at low speed
SYNC
PID
DATA
CRC
EOP
Preamble sent at full speed
Hub enables low speed port outputs
Handshake sent at low speed
Hub enables low speed port outputs
SYNC
PID
Hub Setup
SYNC
PID
EOP
Figure 2. Data To/From K86U18
USB SUSPEND/RESUME FUNCTIONALITY
Suspend is intitiated by the host only, when it stops sending start of frame signaling or start of frame keep alive pulse. When SIE detects the absence of start of frame signaling from the host for more than 3 miliseconds, it sets the Suspend bit in Reg7 and the Supspend Interrupt bit in Reg6 which interrupts the microcontroller. There is also an internal Suspend node that reflects the state of the Suspend bit in Reg7. This Suspend node is used to put the tranceiver in Suspend mode. When the microcontroller gets the Suspend Interrupt, it stops all the clocks. Resume can be initiated by host or by UC. Host initiates Resume by sending J to K transition on D+ and D- pins. Upon detecting J to K transition, the GFI makes Resumeout signal active, which is used to wake the UC. Once the UC is up, it clears the suspend bit in Reg7. UC can initiate Resume by writing 1 to Send Resume bit in Reg7 for longer than 10mSec. This makes GFI to send J to K transition on D+ and D- pins which indicates to the host the Resume state. After 10 msec UC also clears the Suspend bit in Reg7.
U18 EMULATIONS AND CODE DEVELOPMENT
An existing ICEBOX Emulator has been modified by the addition of an adaptor board. This board includes a FPGA with the logic of the SIE, a commercial USB transceiver, and a voltage regulator. These three functions adapt our Z86C15/K15 to the USB world allowing the customer to develop code to be placed into the ROM of U18s. The ICEBOX has complete functional equivalence to the final part including pin out to the application board. This begins with the 40-pin DIP and covers the other pin configurations. Once code has been verified, it can be released to Zilog and placed into the ROM of the Z86U18.
DS97KEY0102
PRELIMINARY
3
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
PIN IDENTIFICATION
P36 P17 P16 P15 P14 P13 P12 P11 P10 P35 GND P00 P01 P02 P03 P04 P05 P06 P07 P34
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Z86UXX DIP
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
P23 P22 P21 P20 P37 P24 Test XTALI XTAL0 GND P25 P26 VUSB VCC D+ DP30 P31 P32 P33
(IN) (OUT)
Figure 3. 40-Pin DIP Pin Conguration
XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
6 7 8 9 10 11 12 13 14 15 16 17 18
XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX 4 1 42
Z86U18 PLCC/QFP
20
22
24
26
40 39 38 37 36 35 34 33 32 31 30 29 28
XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
Pin assignments to be determined. Figure 4. 44-Pin PLCC and QFP Pin Assignments
4
XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
PRELIMINARY
DS97KEY0102
Zilog
Z86U18 USB Device Controller with CMOS Z86K15 MCU
XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
1
28
Z86U18 SOIC
14
15
XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
1
Pin assignments to be determined. Figure 5. 28-pin SOIC Assignments
XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
1
28
Z86U18 PDIP
14
15
XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
Pin assignments to be determined. Figure 6. 28-pin PDIP Assignments
DS97KEY0102
PRELIMINARY
5
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
ABSOLUTE MAXIMUM RATINGS
Symbol VCC TSTG TA Description Supply Voltage* Storage Temp Oper Ambient Temp Min 0.3 65 0 Max +7.0 +150 +105 Units V C C Stresses greater than those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; operation of the device at any condition above those indicated in the operational sections of these specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
Note: * Voltage on all pins with respect to GND.
STANDARD TEST CONDITIONS
The characteristics listed here apply for standard test conditions as noted. All voltages are referenced to GND. Positive current flows into the referenced pin (Figure 7).
From Output Under T est
150 pF
Figure 7. Test Load Diagram
CAPACITANCE
TA = 25C; VCC = GND = 0V; f = 1.0 MHz; unmeasured pins returned to GND. Parameter Input Capacitance Output Capacitance I/O Capacitance
Note: Frequency tolerance 10%
Max 12 pF 12 pF 12 pF
6
PRELIMINARY
DS97KEY0102
Zilog
Z86U18 USB Device Controller with CMOS Z86K15 MCU
DC CHARACTERISTICS VCC = 4.0V to 5.5V @ 0C to +70C
Sym VCH VCL VIH VIL VOH VOH VOL VOL IOL IOL ICC ICC1 ICC2 Rp Rp Parameter Clock Input High Voltage Clock Input Low Voltage Input High Voltage Input Low Voltage Output High Voltage Output High Voltage Output Low Voltage Output Low Voltage Output Low Output Leakage VCC Supply Current Halt Mode Current Stop Mode Current Pull Up Resistor Pull Up Resistor (P26-P25) 6.76 1.8 3.0 D- > D+ 10 1 Min 0.7 VCC GND 0.3 0.7 VCC GND 0.3 VCC 0.4 VCC 0.6 .4 .8 20 1 12 TBD 10 14.04 3 3.6 D+ > DMax VCC + 0.3V 0.2 VCC VCC + 0.3 0.2 VCC Unit Condition V V V V V V V V mA mA mA mA mA K ohm K ohm V mV @ > 200mV Difference (see note 2 below) IOH = 2.0 mA IOH = 2.0 mA (see note 1 below.) IOL= 4 mA IOL= 4 mA (see note 1 below.) VOL= VCC 2.2 V (see note 1 below.) VIN = 0V, 5.25V @ 6.0 MHz @ 6.0 MHz Driven by External Clock Generator Driven by External Clock Generator
1
VUSB Voltage Regulator Output D+,D- Differential Signaling
Notes: 1. Ports P37-P34. These may be used for LEDs or as general-purpose outputs requiring high sink current. 2. Except for SE0 for EOP and RESET (See 7.1.4 of USB Specification).
DS97KEY0102
PRELIMINARY
7
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
AC ELECTRICAL CHARACTERISTICS Additional Timing Diagram
1
3
Clock
2 7 7 2 3
TIN
4 6 5
IRQN
8 9
Clock Setup
11
Stop Mode Recovery Source
10
Figure 8. Additional Timing
8
PRELIMINARY
DS97KEY0102
Zilog
Z86U18 USB Device Controller with CMOS Z86K15 MCU
AC ELECTRICAL CHARACTERISTICS Additional Timing Table
TA=0C to +70C 5.0V, 6 MHz Min Max 150 37 70 2.5TpC 4TpC 100 70 3TpC 5TpC 5TpC 3,0 70 300 250 25
1
Units ns ns ns ns Notes 1 1 1 1 1 1 1 1,2 1,2
No 1 2 3 4 5 6 7 8 9 10 11 12 13
Symbol TpC TrC,TfC TwC TwTinL TwTinH TpTin TrTin TwIL TwIH Twsm Tost Twdt D+, D-
Parameter Input Clock Period Clock Input Rise & Fall Times Input Clock Width Timer Input Low Width Timer Input High Width Timer Input Period Timer Input Rise & Fall Timer Int. Request Low Time Int. Request Input High Time Stop-Mode Recovery Width Spec Oscillator Start-up Time Watch-Dog Timer Differential Rise and Fall Times
ns ns ns ns ms nS
3
Notes: 1. Timing Reference uses 0.7 VCC for a logic 1 and 0.2 VCC for a logic 0. 2. Interrupt request through Port 3 (P33-P31) 3. See USB Specification 7.1.1.2
DS97KEY0102
PRELIMINARY
9
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
PIN FUNCTIONS
XTAL 1,2 for ceramic resonator operation (6 MHz). Port 0 (P07-P00) and Port 1 (P17-P10). Port 0 and Port 1 are 8-bit open drain output (Figure 9).
Z86UXX
8
(Open-Drain Output)
Port 0 and Port 1
Pad Output
Figure 9. Port 0 and Port 1 Conguration
10
PRELIMINARY
DS97KEY0102
Zilog Port 2 (P27-P20). Port 2 is an 8-bit CMOS-compatible Port with 4-bit input, 4-bit programmable I/O (Figure 10).
Z86U18 USB Device Controller with CMOS Z86K15 MCU P20-P24 have 10.4 K (35 percent) pull-up resistors. P25 and P26 have 2.4 K (25 percent) pull-up resistor.
1
4
Z86UXX
I/O Input
VCC
(a) Ports P20-P23
Input
10.4 K
Pad
VCC 10.4 kOhm
OEN Open-Drain (b) Port P24 Pad OUT Input
IN
VCC 2.4K
OEN Open-Drain (c) Ports P25-P26 Pad Input
OUT
IN
Figure 10. Port 2 Conguration
DS97KEY0102
PRELIMINARY
11
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
PIN FUNCTIONS (Continued)
Port 3 (P37-P30). Port 3 is an 8-bit, CMOS-compatible four-fixed-input (P33-P30) and four-fixed-output (P37P34) I/O port. Port 3 inputs have 10.4 Kohm pull-up resistors and outputs are capable of directly driving LED. Port 3 is configured under software control to provide the following control functions: three external interrupt request signals (IRQ0-IRQ2)..
Z86U18
Port 3
(a) Port 3 P34-P37 Output Pad
(b) Port 3 P30-P33 10.4 Kohms Input Pad
Figure 11. Port 3 Conguration
12
PRELIMINARY
DS97KEY0102
Zilog
Z86U18 USB Device Controller with CMOS Z86K15 MCU
FUNCTIONAL DESCRIPTION
Program Memory. The 16-bit program counter addresses 4 KB of program memory space at internal locations (Figure 12). The first 12 bytes of program memory are reserved for the interrupt vectors. These locations have five 16-bit vectors that correspond to the six available interrupts. Byte 12 to byte 4095 consists of on-chip, mask programmed ROM. Addresses 4096 and greater are reserved. The 4 KB program memory is mask programmable.
Default setting after RESET = 00000000
R253 RP D7 D6 D5 D4 D3 D2 D1 D0
1
Bank Pointer Working Register Group
Figure 13. Register Pointer Register Register File. The register file consists of four I/O port registers, 188 general-purpose registers and 11 control and status registers (R3-R0, R4-191, and R255-R240, respectively). The instructions can access registers directly or indirectly through an 8-bit address field. This allows short, 4bit register addressing using the Register Pointer (Figure 13). In the 4-bit mode, the register file is divided into12 working-register groups, each occupying 16 continuous locations. The Register Pointer addresses the starting location of the active working register group. Note: To use the Bank Pointer: The instruction SRP 01 must be used to access the USB registers in the Expanded Register File Space. These 8 registers (as defined on pp. 21-24) are available along with those registers from 10h to BFh. Setting SRP 0 will allow access to the register locations 0 to BFh, including the I/O port registers at 0-3.
65535 Reserved 4096 4095 Location of First Byte of Instruction Executed 12 After RESET 11 10 9 8 Interrupt Vector (Lower Byte) 7 6 5 Interrupt Vector (Upper Byte) 4 3 2 1 0
P31
(IRQ2) (USB)
On-Chip ROM
Reserved Reserved
(T0)
P33
(IRQ1)
P32
(IRQ0)
Figure 12. Program Memory Map
DS97KEY0102
PRELIMINARY
13
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
FUNCTIONAL DESCRIPTION (Continued)
REGISTER POINTER
7 6 5 4 3 2 1 0
Z8 STANDARD CONTROL REGISTERS REGISTER
% FF SPL Reserved RP FLAGS IMR IRQ IPR Reserved P3M P2M PRE0 T0 Reserved Reserved TMR Reserved
Working Register Group Pointer
Bank Pointer
% FE % FD % FC % FB % FA % F9 % F8
Z8 Reg. File
%FF %FO
* *
% F7 % F6 % F5 % F4 % F3
Not available
%BF
% F2 % F1 % F0
Usb Register
Bank 1
%0F %00
REG. GROUP (0) PORT REGISTERS
% (0) 03 % (0) 02 % (0) 01 P3 P2 P1 P0
Note:
* Will not be reset with a
STOP Mode Recovery
% (0) 00
Figure 14. Register File Architecture
14
PRELIMINARY
DS97KEY0102
Zilog Counter/Timers. There is an 8-bit programmable counter/timer (T0) driven by its own 6-bit programmable prescaler (Figure 15). The 6-bit prescalers can divide the input frequency of the clock source by any integer number from 1 to 64. The prescaler drives the counter, which decrements the counter value (1 to 256) on the prescaler overflow. When both the counter and prescaler reach the end of count, a timer interrupt request, IRQ4, is generated.
Z86U18 USB Device Controller with CMOS Z86K15 MCU The counter can be programmed to start, stop, restart to continue, or restart from the initial value. The counter can also be programmed to stop upon reaching zero (single pass mode) or to automatically reload the initial value and continue counting (modulo-n continuous mode) The counter, but not the prescaler, is read at any time without disturbing its value or count mode.
1
Internal Data Bus Write PRE0 Initial Value Register Write T0 Initial Value Register Read T0 Current Value Register
OSC
4
6-Bit Down Counter
8-bit Down Counter
IRQ4
Figure 15. Counter/Timers Block Diagram
DS97KEY0102
PRELIMINARY
15
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
FUNCTIONAL DESCRIPTION (Continued)
Watch-Dog Timer. The Watch-Dog Timer is activated automatically by power-on WDT Hot bit. Bit 7 of the Interrupt Request register (IRQ register FAH) determines whether a hot start or cold start occurred. A cold start is defined as reset occurring from the power-up of the Z86U18 (the default upon power-up is 0). A hot start occurs when a WDT time-out has occurred (bit 7 is set to 1). Bit 7 of the IRQ register is read-only and is automatically reset to 0 when accessed. Watch-Dog Timer Mode Register (WDTMR). The WDTMR is: WDT (ms) 50 ms.
WDT During HALT (D5-R250). This bit determines whether or not the WDT is active during HALT Mode. The default is 1, and a 1 indicates active during HALT.
VCC 18 Tpc Internal Reset POR * Reset Delay = POR 98.57 ms at 6 MHz. Reset Delay
Figure 16. WDT Turn-On Timing After Reset
16
PRELIMINARY
DS97KEY0102
Zilog Interrupts. The Z86U18 has five different interrupts from three different groups. These interrupts are maskable and prioritized (Figure 17). The five sources are divided as follows: three sources are claimed by Port 3 lines P33-P31, one is claimed by the counter/timer, and the other is claimed by the USB interface. The Interrupt Masked Register globally or individually enables or disables the six interrupts requests.
Z86U18 USB Device Controller with CMOS Z86K15 MCU To accommodate polled interrupt systems, interrupt inputs are masked and the interrupt request register is polled to determine which of the interrupt request needs service. EMI. Lower EMI on the Z86U18 is achieved through circuit modifications. The internal divide-by-two circuit has been removed to further reduce EMI. The Z86U18 also accepts external clock from Pin 33 (40Pin DIP).
1
IRQ0-IRQ4 5
IRQ
XTAL1 (in)
XTAL2 (out)
IMR 5 Global Interrupt Enable IPR
XTAL1
Priority Logic
Vector Select
External Clock
Figure 17. Interrupt Block Diagram When more than one interrupt is pending, priorities are resolved by a programmable priority encoder that is controlled by the Interrupt Priority register. All interrupts are vectored through locations in the program memory. When an interrupt machine cycle is activated an interrupt request is granted. Thus, this disables all of the subsequent interrupts, saves the Program Counter and status flags, and then branches to the program memory vector location reserved for that interrupt. This memory location and the next byte contain the 16-bit address of the interrupt service routine for that particular interrupt request.
Figure 18. Oscillator Conguration
DS97KEY0102
PRELIMINARY
17
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
FUNCTIONAL DESCRIPTION (Continued)
Power-On-Reset (POR). A timer circuit is triggered by the system oscillator and is used for the Power-On Reset (POR) timer function. The POR time allows VCC and the oscillator circuit to stabilize before instruction execution begins. POR period is defined as: POR (ms) = 98 ms STOP. This instruction turns off the internal clock and external crystal oscillation. It reduces the standby current to less than 10 mA. The STOP Mode is terminated by an interrupt. An interrupt from any of the active (enabled) interrupts will remove the chip from the STOP Mode ( Ports 3133 and the USB reset). The timer can not do this as the clock is stopped. This causes the processor to restart the application program at the address or the vector of the interrupt and continue the program at the end of the interrupt service routine. In order to enter STOP (or HALT) Mode, it is necessary to first flush the instruction pipeline to avoid suspending execution in mid-instruction. To do this, the user must execute a NOP (opcode=FFH) immediately before the appropriate sleep instruction, such as: FF 6F FF 7F NOP STOP NOP HALT ; clear the pipeline ; enter STOP Mode or ; clear the pipeline ; enter HALT Mode
The POR timer circuit is a one-shot timer triggered by lower fail to Power OK status. The POR time is a nominal 100 ms at 6 MHz. The POR time is bypassed after Stop-Mode Recovery. HALT. HALT turns off the internal CPU clock, but not the oscillator. The counter/timer and external interrupts IRQ0, IRQ1, IRQ2, and IRQ3 remain active. The Z86U18 recovers by interrupts, either externally or internally. USB Reset. Detection by the SIE of a reset from the Host will cause the chip to reset. The reset will be remembered so that the program can decide the source of the reset. The USB Reset will act even if the chip is in the STOP mode.
18
PRELIMINARY
DS97KEY0102
Zilog
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Z8 CONTROL REGISTER DIAGRAMS
R241 TMR D7 D6 D5 D4 D3 D2 D1 D0 R247 P3M D7 D6 D5 D4 D3 D2 D1 D0
1
0 1 Port 2 Open-Drain Port 2 Push-Pull Reserved (Must be 0)
0 = No Function 1 = Load T0 0 = Disable T0 Count 1 = Enable T0 Count Reserved (Must be 0)
Figure 19. Timer Mode Register (F1H: Read/Write)
R249 IPR
R244 T0 D7 D6 D5 D4 D3 D2 D1 D0
Figure 23. Port 2 Open Drain Register (F7H: Write Only)
D7 D6 D5 D4 D3 D2 D1 D0
T0 Initial Value (When Written) (Range 1-256 Decimal 01-00 HEX) T0 Current Value (When READ)
Interrupt Group Priority Reserved = 000 C > A > B = 001 A > B > C = 010 A > C > B = 011 B > C > A = 100 C > B > A = 101 B > A > C = 110 Reserved = 111 IRQ1, IRQ4 Priority (Group C) 0 = IRQ1 > IRQ4 1 = IRQ4 > IRQ1 IRQ0, IRQ2 Priority (Group B) 0 = IRQ2 > IRQ0 1 = IRQ0 > IRQ2 Reserved (Must be 0)
Figure 20. Counter/Timer 0 Register (F4H: Read/Write)
R245 PRE0 D7 D6 D5 D4 D3 D2 D1 D0
Count Mode 0 = T0 Single Pass 1 = T0 Modulo N Reserved (Must be 0) Prescaler Modulo (Range: 1-64 Decimal 01-00 HEX)
Figure 24. Interrupt Priority Register (F9H: Write Only)
R250 IRQ D7 D6 D5 D4 D3 D2 D1 D0
Figure 21. Prescaler 0 Register (F5H: Write Only)
IRQ0 = P32 Input IRQ1 = P33 Input IRQ2 = P31 Input IRQ3 = USB IRQ4 = T0 WDT During HALT 0 OFF * 1 ON Stop Flag 0 POR/WDT* 1 Stop Recovery WDT Hot Bit (Read Only) 0 POR* 1 WDT Timeout
R246 P2M D7 D6 D5 D4 D3 D2 D1 D0
Reserved P24-P27 I/O Definition 0 Defines Bit as OUTPUT 1 Defines Bit as INPUT
* On RESET
Figure 22. Port 2 Mode Register (F6H: Write Only)
Figure 25. Interrupt Request Register (FAH: Read/Write)
DS97KEY0102
PRELIMINARY
19
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
Z8 CONTROL REGISTER DIAGRAMS (Continued)
R251 IMR D7 D6 D5 D4 D3 D2 D1 D0 R255 SPL D7 D6 D5 D4 D3 D2 D1 D0
1 Enables IRQ5-IRQ0 (D0 = IRQ0) Reserved (Must be 0) 1=Global Interrupt Enable 0=Global Interrupt Disable
Stack Pointer Lower Byte (SP0-SP7)
Figure 29. Stack Pointer (FFH: Read/Write)
Figure 26. Interrupt Mask Register (FBH: Read/Write)
R252 Flags D7 D6 D5 D4 D3 D2 D1 D0
User Flag F1 User Flag F2 Half Carry Flag Decimal Adjust Flag Overflow Flag Sign Flag Zero Flag Carry Flag
Figure 27. Flag Register (FCH: Read/Write)
R253 RP D7 D6 D5 D4 D3 D2 D1 D0
Bank Pointer r4 r5 r6 r7 Register Pointer
Figure 28. Register Pointer (FDH: Read/Write)
20
PRELIMINARY
DS97KEY0102
Zilog
Z86U18 USB Device Controller with CMOS Z86K15 MCU
USB REGISTERS
Table 1. Address Offset Located @ 01 in Expanded Register Space Register Function Address Endpoint 0 CSR Endpoint 0 Write Count Endpoint FIFO IN CSR IN FIFO Interrupt Register Miscellaneous Register Address 0 1 2 3 4 5 6 7 Reset Value 00 00 00 00 40 00 00 00
1
REGISTER DESCRIPTIONS
000h
D7 D6 D5 D4 D3 D2 D1 D0
Function Address Not Used
Figure 30. Function Address Register Bit 6:0 mC R/W SIE R Description Upon receiving a SET_Address descriptor, the microcontroller writes this register with the address received from the host.
DS97KEY0102
PRELIMINARY
21
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
REGISTER DESCRIPTIONS (Continued)
001h
D7 D6 D5 D4 D3 D2 D1 D0
Out _pkt _rdy In _pkt _rdy Force Stall Data End Setup End Send Stall Serviced Out Packet Ready Serviced Setup End
Figure 31. Endpoint 0 CS Register Bit No 7 6 5 Bit Description Serviced Setup End Serviced Outpacket Ready Send STALL mC W W W SIE R R R Description The microcontroller writes a 1 to this register to clear setup end bit. The microcontroller writes a 1 to this register to clear out packet ready bit. If the microcontroller decodes an invalid descriptor, it writes a 1 to this register before clearing out_pkt_rdy bit or when microcontroller decodes a set feature or clear feature USB command from the host. If the function receives a new setup transaction before the previous one is complete (entire length of data is transferred), this bit is set. Upon seeing this bit set, the microcontroller should abort the current set operation. During the data phase of a control transfer after the microcontroller has received/sent the last data as specied in the setup phase, it sets this bit. The SIE writes to this register, when it encounters a protocol violation, and issues a STALL handshake to the current control transfer. During the data phase, after the microcontroller has lled the data, it sets this bit. It is cleared by SIE upon successful transmittion of data. The SIE sets this bit after writing data to the FIFO. The microcontroller clears this bit by writing it to Serviced Out Packet Ready bit.
4
Setup End
R
W
3
Data End
W
R
2 1 0
Force STALL In Packet Ready Out Packet Ready
R W R
W R W
002h
D7 D6 D5 D4 D3 D2 D1 D0
Write Count 00000 Figure 32. Endpoint 0 Write Count Register Bit 2:0 mC R SIE W Description The contents indicates the number of bytes in the FIFO.
22
PRELIMINARY
DS97KEY0102
Zilog
Z86U18 USB Device Controller with CMOS Z86K15 MCU
003h
D7 D6 D5 D4 D3 D2 D1 D0
1
FIFO Data
Figure 33. Endpoint 0 FIFO Register Bit 7:0 mC R/W SIE R/W Description This is the Endpoint 0 FIFO data register.
004h
D7 D6 D5 D4 D3 D2 D1 D0
In_pkt _rdy Force Stall
IN MAXP 000
Figure 34. IN CS Register /Bit No Bit Description mC 4:2 1 IN MAXP Force STALL W R/W SIE R W Description Before setting in_pkt_rdy, the microcontroller writes the maximum packet size to these bits. The default value = 8 Bytes. The SIE writes this register, when it encounters a protocol violation, and issues a STALL handshake to the current transfer. The microcontroller sets this bit, when it receives a SET_FEATURE (ENDPOINT_STALL), and clears it, when it receives a CLEAR_FEATURE (ENDPOINT_STALL). After the microcontroller has lled the data, it sets this bit. It is cleared by SIE upon successful transmission of data.
0
In Packet Ready W
R
005h
D7 D6 D5 D4 D3 D2 D1 D0
FIFO Data
Figure 35. IN FIFO Register Bit 7:0 mC W SIE R Description The microcontroller writes IN data to this register.
DS97KEY0102
PRELIMINARY
23
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
REGISTER DESCRIPTIONS (Continued)
006h
D7 D6 D5 D4 D3 D2 D1 D0
Endpoint 0 Interrupt IN Endpoint Interrupt Suspend Interrupt Resume Interrupt 00000
Figure 36. Interrupt Register Bit No Bit Description 3 2 1 mC SIE W W W Description The ag is sent on the Host signal to resume operations. The bit is set when theSuspend signaling is received from the host. This bit is set upon: 1) clearing in_pkt_ rdy 2) setting Force STALL. This bit set by SIE upon: 1) setting out_pkt_rdy 2) clearing in_pkt_rdy 3) setting Force STALL 4) clearing data_end 5) setting data_end
Resume Interupt R Suspend Interrupt R IN Endpoint Interrupt R
0
Endpoint 0 Interrupt
R
W
007h
D7 D6 D5 D4 D3 D2 D1 D0
Suspend Send Resume Interrupt Mask Bits 000
Figure 37. Misc. Register Bit No Bit Description 4:2 1 Interrupt Mask Bits Send Resume mC R/W W SIE R R Description This has bit correspondence to the interrupt register. A value of 1, implies that particular interrupt is disabled. The microcontroller writes a 1 to this bit, while in suspend mode, and wants to start a resume sequence after the clocks are running. This bit is set high for a duration of at least 10 ms by microcontroller. This bit is set by the SIE when, the microcontroller is to enter suspend mode. The microcontroller clears this bit after nishing resume signaling, or after it receives a resume out interrupt, and the clocks have started.
0
Suspend
R/W
W
24
PRELIMINARY
DS97KEY0102
Zilog
Z86U18 USB Device Controller with CMOS Z86K15 MCU
PACKAGE INFORMATION
1
Figure 38. 44-Pin QFP Package Diagram
Figure 39. 28-Pin SOIC
DS97KEY0102
PRELIMINARY
25
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
Figure 40. 28-Pin PDIP
Figure 41. 44-Pin PLCC
26
PRELIMINARY
DS97KEY0102
Zilog
Z86U18 USB Device Controller with CMOS Z86K15 MCU
1
Figure 42. 40-Pin DIP
DS97KEY0102
PRELIMINARY
27
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
ORDERING INFORMATION
6 MHz 40-Pin DIP Z86U18PSC 6 MHz 44-Pin PLCC Z86U18VSC 6 MHz 44-PIN QFP Z86U18FSC 6 MHz 28-Pin DIP Z86U18PSC 6 MHz 28-Pin SOIC Z86U18SSC
For fast results, contact your Zilog sales office for assistance in ordering the part desired.
CODES
Package P = Plastic DIP V = Plastic Leaded Chip Carrier F = Quad Flat Pack Speed 06 = 6 MHz Environment C = Plastic Standard Temperature S = 0C to +70C
Example:
Z 86U18 05 P S C is a Z86U18, 6 MHz, DIP, 0C to +70C, Plastic Standard Flow Environmental Flow T emperature Package Speed Product Number Zilog Prefix
(c) 1997 by Zilog, Inc. All rights reserved. No part of this document may be copied or reproduced in any form or by any means without the prior written consent of Zilog, Inc. The information in this document is subject to change without notice. Devices sold by Zilog, Inc. are covered by warranty and patent indemnification provisions appearing in Zilog, Inc. Terms and Conditions of Sale only. Zilog, Inc. makes no warranty, express, statutory, implied or by description, regarding the information set forth herein or regarding the freedom of the described devices from intellectual property infringement. Zilog, Inc. makes no warranty of merchantability or fitness for any purpose. Zilog, Inc. shall not be responsible for any errors that may appear in this document. Zilog, Inc. makes no commitment to update or keep current the information contained in this document.
ZilogOs products are not authorized for use as critical components in life support devices or systems unless a specific written agreement pertaining to such intended use is executed between the customer and Zilog prior to use. Life support devices or systems are those which are intended for surgical implantation into the body, or which sustains life whose failure to perform, when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in significant injury to the user. Zilog, Inc. 210 East Hacienda Ave. Campbell, CA 95008-6600 Telephone (408) 370-8000 FAX 408 370-8056 Internet: http://www.zilog.com
28
PRELIMINARY
DS97KEY0102
Zilog
Z86U18 USB Device Controller with CMOS Z86K15 MCU
1
DS97KEY0102
PRELIMINARY
29
Z86U18 USB Device Controller with CMOS Z86K15 MCU
Zilog
30
PRELIMINARY
DS97KEY0102


▲Up To Search▲   

 
Price & Availability of Z86U18

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X